<template>
<!-- 薪酬明细 -->
  <div class="wise-salary-detail">
    <van-tabs v-model="active" color="#4D98FF" title-active-color="#4D98FF" @click="handleTab">

      <van-tab title="薪酬" name="public">
        <salary-list-new active="public" />
      </van-tab>
      <!-- <van-tab title="薪酬(新)" name="new">
        <salary-list-new active="govern" />
      </van-tab> -->

    </van-tabs>
  </div>
</template>

<script>
import salaryList from '@/views/components/publicline/wise/salaryList.vue'
import salaryListNew from '@/views/components/publicline/wise/salaryListNew.vue'

export default {
  components: { salaryList, salaryListNew },
  data() {
    return {
      active: 'public'
    }
  },
  mounted() {
  },
  methods: {
    handleTab(name) {
      this.active = name
    }
  }

}
</script>
